package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum SimpleCallRideState {
    pickUp(0, "已接单"),
    inArea(1, "在圈内"),
    start(2, "已开始"),
    end(3, "已结束");

    @EnumValue
    private final int code;
    private final String desc;

    SimpleCallRideState(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
